package com.ruoyi.campus.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收藏信息对象 my_collect
 *
 * @author zht
 * @date 2021-12-07
 */
public class MyCollect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收藏ID */
    private String collId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private String comId;

    /** 商品名 */
    private String comName;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户名 */
    private String userName;

    /** 商品状态 */
    private String comStatus;

    public void setCollId(String collId)
    {
        this.collId = collId;
    }

    public String getCollId()
    {
        return collId;
    }
    public void setComId(String comId)
    {
        this.comId = comId;
    }

    public String getComId()
    {
        return comId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getComStatus() {
        return comStatus;
    }

    public void setComStatus(String comStatus) {
        this.comStatus = comStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("collId", getCollId())
            .append("comId", getComId())
            .append("comName", getComName())
            .append("userId", getUserName())
            .append("comStatus", getComStatus())
            .toString();
    }
}
